﻿<%@ Page Language="C#" MasterPageFile="~/Modulos/Modulo.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Google.Web.Modulos.Estados.Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="gvLista" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" DataKeyNames="CodEstado" ForeColor="#333333" GridLines="None" 
        onrowdeleting="gvLista_RowDeleting">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="CodEstado" 
                DataNavigateUrlFormatString="Item.aspx?id={0}" DataTextField="Nome" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
    <asp:Button ID="btnNovo" runat="server" 
        Text="Novo item" PostBackUrl="~/Modulos/Estados/Item.aspx" />
</asp:Content>
